libxc: Remove minios-specific hack for generating .zlib.deps file
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 21 Aug 2009 10:10:49 +0000 (11:10 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 21 Aug 2009 10:10:49 +0000 (11:10 +0100)
It's not needed if one relative path is replaced.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/libxc/Makefile

index 5693025e60ecd6ab866f206948b78dd7b7799d26..faf94c9807995647f2bcec3dc843c492d6e306ca 100644 (file)
@@ -151,13 +151,9 @@ libxenguest.so: libxenguest.so.$(MAJOR)
 libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
        ln -sf $< $@
 
-ifeq ($(CONFIG_MiniOS),y)
-.zlib.deps:
-       echo >$@
-else
 .zlib.deps:
        @(set -e;                                       \
-          . ../check/funcs.sh;                         \
+          . $(XEN_ROOT)/tools/check/funcs.sh;          \
          echo >$@.new;                                 \
          if has_header bzlib.h; then                   \
             echo "-DHAVE_BZLIB" >>$@.new;              \
@@ -170,7 +166,6 @@ else
            echo " - LZMA decompression supported";     \
          fi;                                           \
          mv $@.new $@)
-endif
 
 xc_dom_bzimageloader.o: .zlib.deps
 xc_dom_bzimageloader.o: CFLAGS += $(shell grep D .zlib.deps)